/*
 * @Author: WangGuojian 1085844536@qq.com
 * @Date: 2023-04-03 19:52:57
 * @LastEditTime: 2023-04-04 22:30:55
 * @LastEditors: WangGuojian 1085844536@qq.com
 * @FilePath: \webpack\webpack_code\babel.config.js
 * @Description:
 */
module.exports = {
    // 智能预设:能够编译ES6语法
    presets: [
        [
            '@babel/preset-env',
            {
                useBuiltIns: 'usage', // 按需加载自动引入
                corejs: 3,
            },
        ],
    ],
};
